﻿<UserControl x:Class="Flux_Balance_Analysis.Graphs.Viewer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Controls="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls"
             xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions"
             xmlns:local="clr-namespace:Flux_Balance_Analysis.Graphs"
             xmlns:core="clr-namespace:Flux_Balance_Analysis"
             mc:Ignorable="d" 
             x:Name="root"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ResourceDictionary Source="../Styles.xaml" />
    </UserControl.Resources>
    <zoom:ZoomControl Grid.Column="1">
        <local:FBAGraphLayout x:Name="graphLayout"
                                Graph="{Binding ElementName=root, Path=GraphToVisualize}"
                                LayoutAlgorithmType="BoundedFR"
                                OverlapRemovalAlgorithmType="FSA"
                                HighlightAlgorithmType="Simple" />
    </zoom:ZoomControl>
</UserControl>
